#ifndef MYBUTTON_H
#define MYBUTTON_H

#include <QPushButton>
#include <QMouseEvent>
#include <QEvent>
#include <QDebug>

class MyButton : public QPushButton
{
    Q_OBJECT
public:
    explicit MyButton(QWidget *parent = 0);

    void mousePressEvent(QMouseEvent *);

signals:
    void mousePressed();

public slots:

};

#endif // MYBUTTON_H
